/**
 * <p>Title:MonitorRejectedException  </p>
 * <p>Description： com.travelsky.aic.data.jobs.agentmonitor.util.task</p>
 * Package:
 * Copyright: Copyright(c) 2020 Travelsky All Rights Reserved
 * Company: Travelsky
 * Software: AIC
 * Date: 2021/1/15 9:31
 *
 * @author yanwen
 * @version 1.0.0
 */
package com.xiaoma.thread.pool;

import java.util.concurrent.RejectedExecutionException;

/**
 * @author yanwen
 * 自定义异常拒绝策略类
 */
public class MonitorRejectedException extends RejectedExecutionException {

  /**
   * 自定义拒绝策略异常类
   *
   * @param msg 具体异常明细
   */
  public MonitorRejectedException(String msg) {
    super(msg);
  }

  /**
   * 创建一个新的{@code TaskRejectedException}
   * @param msg 具体明细异常信息
   * @param cause the root cause
   * @see RejectedExecutionException
   */
  public MonitorRejectedException(String msg, Throwable cause) {
    super(msg, cause);
  }

}
